package com.zhiche.lisa.lspm.vo.fleet;

import com.zhiche.lisa.lspm.dao.model.fleet.FleetBind;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.codehaus.jackson.map.ser.std.ToStringSerializer;

@ApiModel(value = "车队绑定信息")
public class FleetBindVO extends FleetBind {
    @ApiModelProperty(value = "牵引车id", name = "carrierId", dataType = "Long")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long carrierId;
    @ApiModelProperty(value = "司机手机号", name = "driverMobile", dataType = "String")
    private String driverMobile;
    @ApiModelProperty(value = "司机名称", name = "driverName", dataType = "String")
    private String driverName;
    @ApiModelProperty(value = "牵引车车牌", name = "carrierPlate", dataType = "String")
    private String carrierPlate;
    @ApiModelProperty(value = "挂车车牌", name = "trailerPlate", dataType = "String")
    private String trailerPlate;

    private String trailerId;

    private String driverId;

    private String fleetName;

    private String fleetTypeId;

    private String fleetAttribute;
    /**
     * 司机类型
     */
    private String serviceType;
    /**
     *  承运商ID
     */
    private Long lspId;

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public Long getLspId() {
        return lspId;
    }

    public void setLspId(Long lspId) {
        this.lspId = lspId;
    }

    public String getFleetName() {
        return fleetName;
    }

    public void setFleetName(String fleetName) {
        this.fleetName = fleetName;
    }

    public String getFleetTypeId() {
        return fleetTypeId;
    }

    public void setFleetTypeId(String fleetTypeId) {
        this.fleetTypeId = fleetTypeId;
    }

    public String getFleetAttribute() {
        return fleetAttribute;
    }

    public void setFleetAttribute(String fleetAttribute) {
        this.fleetAttribute = fleetAttribute;
    }

    public String getTrailerId() {
        return trailerId;
    }

    public void setTrailerId(String trailerId) {
        this.trailerId = trailerId;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public Long getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(Long carrierId) {
        this.carrierId = carrierId;
    }

    public String getDriverMobile() {
        return driverMobile;
    }

    public void setDriverMobile(String driverMobile) {
        this.driverMobile = driverMobile;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getCarrierPlate() {
        return carrierPlate;
    }

    public void setCarrierPlate(String carrierPlate) {
        this.carrierPlate = carrierPlate;
    }

    public String getTrailerPlate() {
        return trailerPlate;
    }

    public void setTrailerPlate(String trailerPlate) {
        this.trailerPlate = trailerPlate;
    }

    @Override
    public String toString() {
        return "FleetBindVO{" +
                "carrierId=" + carrierId +
                ", driverMobile='" + driverMobile + '\'' +
                ", driverName='" + driverName + '\'' +
                ", carrierPlate='" + carrierPlate + '\'' +
                ", trailerPlate='" + trailerPlate + '\'' +
                "} " + super.toString();
    }
}
